package com.kingdee.eas.mx.exp.inv;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ScarletInvoiceFactory
{
    private ScarletInvoiceFactory()
    {
    }
    public static com.kingdee.eas.mx.exp.inv.IScarletInvoice getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IScarletInvoice)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("47487A6C") ,com.kingdee.eas.mx.exp.inv.IScarletInvoice.class);
    }
    
    public static com.kingdee.eas.mx.exp.inv.IScarletInvoice getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IScarletInvoice)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("47487A6C") ,com.kingdee.eas.mx.exp.inv.IScarletInvoice.class, objectCtx);
    }
    public static com.kingdee.eas.mx.exp.inv.IScarletInvoice getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IScarletInvoice)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("47487A6C"));
    }
    public static com.kingdee.eas.mx.exp.inv.IScarletInvoice getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.mx.exp.inv.IScarletInvoice)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("47487A6C"));
    }
}